//
//  YBMyWalletsViewController+LayoutConstraints.m
//  Nectar
//
//  Created by famer on 2023/11/8.
//  Copyright © 2023 asance. All rights reserved.
//

#import "YBMyWalletsViewController+LayoutConstraints.h"
#import "YBNavigationBar.h"

@implementation YBMyWalletsViewController (LayoutConstraints)

- (void)setLayoutConstraints{
    CGFloat width = self.view.size.width;
    CGFloat height = self.view.size.height;
    CGFloat leftMargin = 12;
    
    self.navigationBar.frame = CGRectMake(0,  [UIView statusBarHeight], width, 64);

    self.myTableView.frame = CGRectMake(leftMargin,
                                        self.navigationBar.bottom+0,
                                        width-leftMargin*2,
                                        height-self.navigationBar.bottom);

}
@end
